
package controller;

import java.util.List;
import model.dao.StatusDao;
import model.domain.Status;

public class statusBean {

    public statusBean() {
    }

    public List<Status> getAllTaskStatus(){
        StatusDao home = new StatusDao();
        return home.getStatusByContext("task");
    }

    public List<Status> getAllUserStatus(){
        StatusDao home = new StatusDao();
        return home.getStatusByContext("user");
    }

    public List<Status> getAllImpedimentStatus(){
        StatusDao home = new StatusDao();
        return home.getStatusByContext("impediment");
    }

}
